from django.http import HttpResponse
from django.shortcuts import render
from mainsite.models import User


# Create your views here.
def get_sql(request):
    i=User()

    i.username='上是大'
    i.password='word'
    i.save()

    u=User.objects.all()
    return render(request,'sql.html',context={'us':u})
